﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<!-- saved from url=(0029)http://www.helpandmanual.com/ -->
<head><script type="text/javascript" src="helpman_topicinit.js"></script>
<!-- Redirect browser to frame page if page is not in the content frame. -->
<script type="text/javascript">
<!--
if(top.frames.length==0) { top.location.href="index.html?new_topic.htm"; }
else { parent.quicksync('a2.1.3'); }
//-->
</script>
<script type="text/javascript" src="highlight.js"></script>
   <title>SagaGateway</title>
   <meta name="generator" content="Help &amp; Manual" />
   <meta name="keywords" content="SagaGateway,Configuration" />
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
   <meta http-equiv="Content-Style-Type" content="text/css" />
   <link type="text/css" href="default.css" rel="stylesheet" />
</head>
<body style="margin: 0px 0px 0px 0px; background: #FFFFFF;" onload="highlight();">
<div id="hmpopupDiv" style="visibility:hidden; position:absolute; z-index:1000; "></div>


<table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="#649CCC">
  <tr valign="middle">
    <td align="left">
      <p class="p_Heading1"><span class="f_Heading1">SagaGateway</span></p>

    </td>
    <td align="right">
     <span style="font-size: 9pt">
     <a href="introduction.htm">Top</a>&nbsp;
     <a href="sagamap.htm">Previous</a>&nbsp;
     <a href="world.htm">Next</a>
     </span>
    </td>
  </tr>
</table>


<!-- Placeholder for topic body. -->
<table width="100%" border="0" cellspacing="0" cellpadding="5"><tr valign="top"><td align="left">
<p>The gateway server is the simplest component of Saga, so is its configuration.</p>
<p><span style="font-family: 'Times New Roman';">&nbsp;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;?</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">xml</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;"> </span><span style="font-size: 9pt; font-family: '新宋体'; color: #ff0000;">version</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">=</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">&quot;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">1.0</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">&quot;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;"> </span><span style="font-size: 9pt; font-family: '新宋体'; color: #ff0000;">encoding</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">=</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">&quot;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">utf-8</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">&quot;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;"> ?&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">SagaGateway</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">host</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">127.0.0.1</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">host</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">port</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">65000</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">port</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">loginserver</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">127.0.0.1</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">loginserver</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">loginport</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">6000</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">loginport</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> </span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Total number of live workers</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Default by 5. Increase this to support more players</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> &nbsp; </span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">Connections</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">5</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">Connections</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&nbsp;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">BANNED_IP</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;"> &nbsp;&nbsp; &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> </span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> &nbsp;&nbsp; &lt;IP&gt;127.0.0.001&lt;/IP&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> &nbsp;&nbsp; </span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">BANNED_IP</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&nbsp;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> Client Version CRC check: </span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> CRC_KEY should be a 20 bytes Hex. string </span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> Once CRC_KEY got changed, keys in ALLOWED_CRC should be changed, too </span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">CRC_KEY</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">A928CDC9DBE8751B3BC99EB65AE07E0C849CE739</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">CRC_KEY</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">ALLOWED_CRC</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;"> &nbsp;&nbsp; &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> No key means all versions of client are allowed to connect </span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;"> &nbsp;&nbsp; &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> More keys supported </span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;"> &nbsp;&nbsp; &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> Version CRC Key for kRO2 v66 </span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> &nbsp;&nbsp; &lt;CRC&gt;BE6ED3C5F923072EA91C43EB2F02B2BEE16D3BF1&lt;/CRC&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;"> &nbsp;&nbsp; &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> Version CRC Key for kRO2 v68 </span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> &nbsp;&nbsp; &lt;CRC&gt;FA0AE6C542F8A30311B2860CEC255B2B99D2CB53&lt;/CRC&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;"> &nbsp;&nbsp; &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> Version CRC Key for kRO2 v73 </span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;"> &nbsp;&nbsp; &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">CRC</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">2B9F3A4C0A2537DDAC200624A9EDE50C12B75F17</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">CRC</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;"> &nbsp;&nbsp; &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> Version CRC Key for kRO2 v77 </span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;"> &nbsp;&nbsp; &lt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">CRC</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span><span style="font-size: 9pt; font-family: '新宋体'; color: #000000;">84AC9C76A35EA122640021260EA7B9D4F392D190</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">CRC</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;"> &nbsp;&nbsp; &lt;!--</span><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> </span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> &nbsp;&nbsp;&nbsp; &lt;CRC&gt;CRC_KEY 2&lt;/CRC&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #008000;"> &nbsp;&nbsp;&nbsp; </span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">--&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">  &lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">ALLOWED_CRC</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&lt;/</span><span style="font-size: 9pt; font-family: '新宋体'; color: #800000;">SagaGateway</span><span style="font-size: 9pt; font-family: '新宋体'; color: #0000ff;">&gt;</span></p>
<p>&nbsp;</p>
<p>host: IP address of gateway server</p>
<p>port: Port of gateway server</p>
<p>loginserver: IP address of login server</p>
<p>loginport: Port of login server</p>

</td></tr></table>

</body>
</html>
